package com.qfedu.aunt.commons.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 培训记录表
 * </p>
 *
 * @author xiaobobo
 * @since 2022-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_training_records")
@ApiModel(value="TrainingRecords对象", description="培训记录表")
public class TrainingRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "培训记录id")
    @TableId(value = "training_id", type = IdType.ID_WORKER_STR)
    private String trainingId;

    @ApiModelProperty(value = "培训总时长")
    private Date trainingCountTime;

    @ApiModelProperty(value = "培训时间")
    private Date trainingTime;

    @ApiModelProperty(value = "培训的名称")
    private String trainingName;

    @ApiModelProperty(value = "培训内容id")
    private String trainingContentId;

    @ApiModelProperty(value = "培训地点")
    private String trainingAddress;

    @ApiModelProperty(value = "培训的讲师")
    private String trainingTeacher;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

    @ApiModelProperty(value = "离线乐观锁")
    private Integer version;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
